@import '~@delon/theme/system/index';
@import '~@delon/abc/index';
@import '~@delon/chart/index';
@import 'app/layout/pro/styles/index.less';
@import './styles/common/global.less';

@import './styles/index';
@import './styles/theme';

.icon {
  width       : 18px;
  fill        : currentColor;
  overflow    : hidden;
  font-size   : 18px !important;
  color       : #ffffff;
  margin-right: 10px;
}

@layout-gutter: 8px;

/* 全局滚动条美化 */
*::-webkit-scrollbar {
  width : (@layout-gutter);
  height: (@layout-gutter);
}

*::-webkit-scrollbar-thumb {
  background   : #d9d9d9;
  cursor       : pointer;
  border-radius: (@layout-gutter) / 2;
}

/* 全局隐藏input-number上下箭头 谷歌*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* 全局隐藏input-number上下箭头 火狐*/
input[type="number"] {
  -moz-appearance: textfield;
}

.alain-pro__sider-logo {
  padding-left: 12px;
}

.break-word-all {
  word-break: break-all;
  word-wrap : break-word;
}

st {
  .block-td {
    .ant-divider-vertical {
      display    : none;
      margin     : 0;
      border-left: none;
    }

    st-td {
      span>a {
        display: block;
      }
    }
  }
}

nz-range-picker {
  width     : 100%;
  word-break: break-all;
  word-wrap : break-word;
}

.ant-select-tree .ant-select-tree-treenode-disabled {
  .ant-select-tree-checkbox {
    margin: 0;

    .ant-select-tree-checkbox-inner {
      width       : 0px;
      border-color: #ffffff !important;
    }
  }

  .ant-select-tree-node-content-wrapper {
    color : unset;
    cursor: not-allowed;
  }
}

.area-tree-select {
  .ant-select-tree .ant-select-tree-treenode-disabled {
    .ant-select-tree-checkbox {
      margin: 0;

      .ant-select-tree-checkbox-inner {
        width       : 0px;
        border-color: #ffffff !important;
      }
    }

    .ant-select-tree-node-content-wrapper {
      color : unset;
      cursor: not-allowed;
    }
  }
}

.print_order_select {
  cdk-virtual-scroll-viewport {
    min-height: 54px;
  }
}

.reuse_tab {
  .ant-tabs-tab+.ant-tabs-tab {
    margin: 0 0 0 4px;
  }

  .reuse-tab__line .ant-tabs-nav .ant-tabs-tab .reuse-tab__name {
    padding: 8px 16px;
  }
}